/*
 * Package: org.grassfield.common.license.util
 * FileName: Utilities.java
 *  
 * Created by pandian on Jan 28, 2011
 */
package util;

import java.util.ArrayList;
import java.util.List;
import java.util.Locale;

/**
 * The Class Utilities.
 */
public class Utilities {
	/**
	 * Gets the iSO country list.
	 * 
	 * @return the iSO country list
	 */
	public static List<String> getISOCountryList() {
		List<String> result = new ArrayList<String>();
		Locale[] availableLocales = Locale.getAvailableLocales();
		for (Locale locale:availableLocales){
			result.add(locale.getDisplayCountry());
		}
		return result;
	}

}
